/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package uimigration.mappingmodel.impl;

import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

import org.eclipse.emf.ecore.impl.EPackageImpl;

import uimigration.Interactions.InteractionsPackage;

import uimigration.Interactions.impl.InteractionsPackageImpl;

import uimigration.Plateform.PlateformPackage;

import uimigration.Plateform.impl.PlateformPackageImpl;

import uimigration.WidgetsModel.WidgetsModelPackage;

import uimigration.WidgetsModel.impl.WidgetsModelPackageImpl;

import uimigration.mappingmodel.ActionType;
import uimigration.mappingmodel.BehaviourType;
import uimigration.mappingmodel.Event;
import uimigration.mappingmodel.MappingActionEvent;
import uimigration.mappingmodel.MappingBehaviourEvent;
import uimigration.mappingmodel.MappingPositionProperties;
import uimigration.mappingmodel.MappingTable;
import uimigration.mappingmodel.MappingtableFactory;
import uimigration.mappingmodel.MappingtablePackage;
import uimigration.mappingmodel.PositionType;
import uimigration.mappingmodel.WidgetEvent;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Package</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class MappingtablePackageImpl extends EPackageImpl implements
		MappingtablePackage {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass mappingTableEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass mappingActionEventEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass mappingBehaviourEventEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass mappingPositionPropertiesEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass eventEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass widgetEventEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EEnum actionTypeEEnum = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EEnum behaviourTypeEEnum = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EEnum positionTypeEEnum = null;

	/**
	 * Creates an instance of the model <b>Package</b>, registered with
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
	 * package URI value.
	 * <p>Note: the correct way to create the package is via the static
	 * factory method {@link #init init()}, which also performs
	 * initialization of the package, or returns the registered package,
	 * if one already exists.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see org.eclipse.emf.ecore.EPackage.Registry
	 * @see uimigration.mappingmodel.MappingtablePackage#eNS_URI
	 * @see #init()
	 * @generated
	 */
	private MappingtablePackageImpl() {
		super(eNS_URI, MappingtableFactory.eINSTANCE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static boolean isInited = false;

	/**
	 * Creates, registers, and initializes the <b>Package</b> for this
	 * model, and for any others upon which it depends.  Simple
	 * dependencies are satisfied by calling this method on all
	 * dependent packages before doing anything else.  This method drives
	 * initialization for interdependent packages directly, in parallel
	 * with this package, itself.
	 * <p>Of this package and its interdependencies, all packages which
	 * have not yet been registered by their URI values are first created
	 * and registered.  The packages are then initialized in two steps:
	 * meta-model objects for all of the packages are created before any
	 * are initialized, since one package's meta-model objects may refer to
	 * those of another.
	 * <p>Invocation of this method will not affect any packages that have
	 * already been initialized.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #eNS_URI
	 * @see #createPackageContents()
	 * @see #initializePackageContents()
	 * @generated
	 */
	public static MappingtablePackage init() {
		if (isInited)
			return (MappingtablePackage) EPackage.Registry.INSTANCE
					.getEPackage(MappingtablePackage.eNS_URI);

		// Obtain or create and register package
		MappingtablePackageImpl theMappingtablePackage = (MappingtablePackageImpl) (EPackage.Registry.INSTANCE
				.getEPackage(eNS_URI) instanceof MappingtablePackageImpl ? EPackage.Registry.INSTANCE
				.getEPackage(eNS_URI)
				: new MappingtablePackageImpl());

		isInited = true;

		// Obtain or create and register interdependencies
		InteractionsPackageImpl theInteractionsPackage = (InteractionsPackageImpl) (EPackage.Registry.INSTANCE
				.getEPackage(InteractionsPackage.eNS_URI) instanceof InteractionsPackageImpl ? EPackage.Registry.INSTANCE
				.getEPackage(InteractionsPackage.eNS_URI)
				: InteractionsPackage.eINSTANCE);
		PlateformPackageImpl thePlateformPackage = (PlateformPackageImpl) (EPackage.Registry.INSTANCE
				.getEPackage(PlateformPackage.eNS_URI) instanceof PlateformPackageImpl ? EPackage.Registry.INSTANCE
				.getEPackage(PlateformPackage.eNS_URI)
				: PlateformPackage.eINSTANCE);
		WidgetsModelPackageImpl theWidgetsModelPackage = (WidgetsModelPackageImpl) (EPackage.Registry.INSTANCE
				.getEPackage(WidgetsModelPackage.eNS_URI) instanceof WidgetsModelPackageImpl ? EPackage.Registry.INSTANCE
				.getEPackage(WidgetsModelPackage.eNS_URI)
				: WidgetsModelPackage.eINSTANCE);

		// Create package meta-data objects
		theMappingtablePackage.createPackageContents();
		theInteractionsPackage.createPackageContents();
		thePlateformPackage.createPackageContents();
		theWidgetsModelPackage.createPackageContents();

		// Initialize created meta-data
		theMappingtablePackage.initializePackageContents();
		theInteractionsPackage.initializePackageContents();
		thePlateformPackage.initializePackageContents();
		theWidgetsModelPackage.initializePackageContents();

		// Mark meta-data to indicate it can't be changed
		theMappingtablePackage.freeze();

		return theMappingtablePackage;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getMappingTable() {
		return mappingTableEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMappingTable_Name() {
		return (EAttribute) mappingTableEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getMappingTable_ActionsMapping() {
		return (EReference) mappingTableEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getMappingTable_BehaviorsMapping() {
		return (EReference) mappingTableEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getMappingTable_PositionsMapping() {
		return (EReference) mappingTableEClass.getEStructuralFeatures().get(3);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getMappingActionEvent() {
		return mappingActionEventEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMappingActionEvent_ActionType() {
		return (EAttribute) mappingActionEventEClass.getEStructuralFeatures()
				.get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getMappingActionEvent_MappedEvents() {
		return (EReference) mappingActionEventEClass.getEStructuralFeatures()
				.get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getMappingBehaviourEvent() {
		return mappingBehaviourEventEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMappingBehaviourEvent_BehaviourType() {
		return (EAttribute) mappingBehaviourEventEClass
				.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getMappingBehaviourEvent_MappedEvent() {
		return (EReference) mappingBehaviourEventEClass
				.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getMappingPositionProperties() {
		return mappingPositionPropertiesEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getMappingPositionProperties_PositionType() {
		return (EAttribute) mappingPositionPropertiesEClass
				.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getMappingPositionProperties_MappedProperties() {
		return (EReference) mappingPositionPropertiesEClass
				.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getEvent() {
		return eventEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getEvent_Name() {
		return (EAttribute) eventEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getEvent_MappedActions() {
		return (EReference) eventEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getEvent_Handler() {
		return (EAttribute) eventEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getWidgetEvent() {
		return widgetEventEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getWidgetEvent_Name() {
		return (EAttribute) widgetEventEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getWidgetEvent_Handler() {
		return (EAttribute) widgetEventEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getWidgetEvent_MappedBehavoiurs() {
		return (EReference) widgetEventEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EEnum getActionType() {
		return actionTypeEEnum;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EEnum getBehaviourType() {
		return behaviourTypeEEnum;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EEnum getPositionType() {
		return positionTypeEEnum;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public MappingtableFactory getMappingtableFactory() {
		return (MappingtableFactory) getEFactoryInstance();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isCreated = false;

	/**
	 * Creates the meta-model objects for the package.  This method is
	 * guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void createPackageContents() {
		if (isCreated)
			return;
		isCreated = true;

		// Create classes and their features
		mappingTableEClass = createEClass(MAPPING_TABLE);
		createEAttribute(mappingTableEClass, MAPPING_TABLE__NAME);
		createEReference(mappingTableEClass, MAPPING_TABLE__ACTIONS_MAPPING);
		createEReference(mappingTableEClass, MAPPING_TABLE__BEHAVIORS_MAPPING);
		createEReference(mappingTableEClass, MAPPING_TABLE__POSITIONS_MAPPING);

		mappingActionEventEClass = createEClass(MAPPING_ACTION_EVENT);
		createEAttribute(mappingActionEventEClass,
				MAPPING_ACTION_EVENT__ACTION_TYPE);
		createEReference(mappingActionEventEClass,
				MAPPING_ACTION_EVENT__MAPPED_EVENTS);

		mappingBehaviourEventEClass = createEClass(MAPPING_BEHAVIOUR_EVENT);
		createEAttribute(mappingBehaviourEventEClass,
				MAPPING_BEHAVIOUR_EVENT__BEHAVIOUR_TYPE);
		createEReference(mappingBehaviourEventEClass,
				MAPPING_BEHAVIOUR_EVENT__MAPPED_EVENT);

		mappingPositionPropertiesEClass = createEClass(MAPPING_POSITION_PROPERTIES);
		createEAttribute(mappingPositionPropertiesEClass,
				MAPPING_POSITION_PROPERTIES__POSITION_TYPE);
		createEReference(mappingPositionPropertiesEClass,
				MAPPING_POSITION_PROPERTIES__MAPPED_PROPERTIES);

		eventEClass = createEClass(EVENT);
		createEAttribute(eventEClass, EVENT__NAME);
		createEReference(eventEClass, EVENT__MAPPED_ACTIONS);
		createEAttribute(eventEClass, EVENT__HANDLER);

		widgetEventEClass = createEClass(WIDGET_EVENT);
		createEAttribute(widgetEventEClass, WIDGET_EVENT__NAME);
		createEAttribute(widgetEventEClass, WIDGET_EVENT__HANDLER);
		createEReference(widgetEventEClass, WIDGET_EVENT__MAPPED_BEHAVOIURS);

		// Create enums
		actionTypeEEnum = createEEnum(ACTION_TYPE);
		behaviourTypeEEnum = createEEnum(BEHAVIOUR_TYPE);
		positionTypeEEnum = createEEnum(POSITION_TYPE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isInitialized = false;

	/**
	 * Complete the initialization of the package and its meta-model.  This
	 * method is guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void initializePackageContents() {
		if (isInitialized)
			return;
		isInitialized = true;

		// Initialize package
		setName(eNAME);
		setNsPrefix(eNS_PREFIX);
		setNsURI(eNS_URI);

		// Obtain other dependent packages
		WidgetsModelPackage theWidgetsModelPackage = (WidgetsModelPackage) EPackage.Registry.INSTANCE
				.getEPackage(WidgetsModelPackage.eNS_URI);
		InteractionsPackage theInteractionsPackage = (InteractionsPackage) EPackage.Registry.INSTANCE
				.getEPackage(InteractionsPackage.eNS_URI);

		// Add supertypes to classes

		// Initialize classes and features; add operations and parameters
		initEClass(mappingTableEClass, MappingTable.class, "MappingTable",
				!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getMappingTable_Name(), ecorePackage.getEString(),
				"name", null, 0, 1, MappingTable.class, !IS_TRANSIENT,
				!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
				!IS_DERIVED, IS_ORDERED);
		initEReference(getMappingTable_ActionsMapping(), this
				.getMappingActionEvent(), null, "actionsMapping", null, 0, -1,
				MappingTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
				IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
				!IS_DERIVED, IS_ORDERED);
		initEReference(getMappingTable_BehaviorsMapping(), this
				.getMappingBehaviourEvent(), null, "behaviorsMapping", null, 0,
				-1, MappingTable.class, !IS_TRANSIENT, !IS_VOLATILE,
				IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
				!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getMappingTable_PositionsMapping(), this
				.getMappingPositionProperties(), null, "positionsMapping",
				null, 0, -1, MappingTable.class, !IS_TRANSIENT, !IS_VOLATILE,
				IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
				!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(mappingActionEventEClass, MappingActionEvent.class,
				"MappingActionEvent", !IS_ABSTRACT, !IS_INTERFACE,
				IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getMappingActionEvent_ActionType(),
				this.getActionType(), "actionType", null, 0, 1,
				MappingActionEvent.class, !IS_TRANSIENT, !IS_VOLATILE,
				IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
				IS_ORDERED);
		initEReference(getMappingActionEvent_MappedEvents(), this.getEvent(),
				null, "mappedEvents", null, 0, -1, MappingActionEvent.class,
				!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
				!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
				IS_ORDERED);

		initEClass(mappingBehaviourEventEClass, MappingBehaviourEvent.class,
				"MappingBehaviourEvent", !IS_ABSTRACT, !IS_INTERFACE,
				IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getMappingBehaviourEvent_BehaviourType(), this
				.getBehaviourType(), "behaviourType", null, 0, 1,
				MappingBehaviourEvent.class, !IS_TRANSIENT, !IS_VOLATILE,
				IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
				IS_ORDERED);
		initEReference(getMappingBehaviourEvent_MappedEvent(), this
				.getWidgetEvent(), null, "mappedEvent", null, 0, -1,
				MappingBehaviourEvent.class, !IS_TRANSIENT, !IS_VOLATILE,
				IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
				!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(mappingPositionPropertiesEClass,
				MappingPositionProperties.class, "MappingPositionProperties",
				!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getMappingPositionProperties_PositionType(), this
				.getPositionType(), "positionType", null, 0, 1,
				MappingPositionProperties.class, !IS_TRANSIENT, !IS_VOLATILE,
				IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
				IS_ORDERED);
		initEReference(getMappingPositionProperties_MappedProperties(),
				theWidgetsModelPackage.getProperty(), null, "mappedProperties",
				null, 0, -1, MappingPositionProperties.class, !IS_TRANSIENT,
				!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
				!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(eventEClass, Event.class, "Event", !IS_ABSTRACT,
				!IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getEvent_Name(), ecorePackage.getEString(), "name",
				null, 0, 1, Event.class, !IS_TRANSIENT, !IS_VOLATILE,
				IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
				IS_ORDERED);
		initEReference(getEvent_MappedActions(), theInteractionsPackage
				.getAction(), null, "mappedActions", null, 0, -1, Event.class,
				!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
				!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
				IS_ORDERED);
		initEAttribute(getEvent_Handler(), ecorePackage.getEString(),
				"handler", null, 0, 1, Event.class, !IS_TRANSIENT,
				!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
				!IS_DERIVED, IS_ORDERED);

		initEClass(widgetEventEClass, WidgetEvent.class, "WidgetEvent",
				!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getWidgetEvent_Name(), ecorePackage.getEString(),
				"name", null, 0, 1, WidgetEvent.class, !IS_TRANSIENT,
				!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
				!IS_DERIVED, IS_ORDERED);
		initEAttribute(getWidgetEvent_Handler(), ecorePackage.getEString(),
				"handler", null, 0, 1, WidgetEvent.class, !IS_TRANSIENT,
				!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
				!IS_DERIVED, IS_ORDERED);
		initEReference(getWidgetEvent_MappedBehavoiurs(),
				theInteractionsPackage.getBehaviour(), null,
				"mappedBehavoiurs", null, 0, -1, WidgetEvent.class,
				!IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
				!IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
				IS_ORDERED);

		// Initialize enums and add enum literals
		initEEnum(actionTypeEEnum, ActionType.class, "ActionType");
		addEEnumLiteral(actionTypeEEnum, ActionType.SPACE);
		addEEnumLiteral(actionTypeEEnum, ActionType.CAPTURE_DATA);

		initEEnum(behaviourTypeEEnum, BehaviourType.class, "BehaviourType");
		addEEnumLiteral(behaviourTypeEEnum, BehaviourType.RENDER);
		addEEnumLiteral(behaviourTypeEEnum, BehaviourType.LINK);
		addEEnumLiteral(behaviourTypeEEnum, BehaviourType.CONTENT);

		initEEnum(positionTypeEEnum, PositionType.class, "PositionType");
		addEEnumLiteral(positionTypeEEnum, PositionType.ABSOLUTE);
		addEEnumLiteral(positionTypeEEnum, PositionType.RELATIVE);

		// Create resource
		createResource(eNS_URI);
	}

} //MappingtablePackageImpl
